package com.zretc.entity;

/**
 * 2 被代理对象 MovieStar 实现接口;
 * 
 * @author admin
 *
 */
public class MovieStar implements IStar {

	private String name;
	private String movieName;

	/**
	 * @return the movieName
	 */
	public String getMovieName() {
		return movieName;
	}

	/**
	 * @param movieName the movieName to set
	 */
	public void setMovieName(String movieName) {
		this.movieName = movieName;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	@Override
	public void playmovie() {
		System.out.println(this.name + "在拍电影 " + this.movieName);
	}

	@Override
	public void sing() {
		System.out.println(this.name + "在唱歌 ");

	}
}
